projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d9133c
)
Fix up eldef shortening of the minibuffer
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 11 Sep 2020 12:52:25 +0000
(14:52 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 11 Sep 2020 12:52:25 +0000
(14:52 +0200)
* lisp/minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
Don't include the ": " bit in the portion to be replaced
(bug#12443).
lisp/minibuf-eldef.el
patch
|
blob
|
history
diff --git
a/lisp/minibuf-eldef.el
b/lisp/minibuf-eldef.el
index a32d21abb308e1f9d9e75b249012f18f54f09979..6cd858093cd2ebe01afe7de514a95c49b1b30761 100644
(file)
--- a/
lisp/minibuf-eldef.el
+++ b/
lisp/minibuf-eldef.el
@@
-48,7
+48,7
@@
(regexp-quote (substring minibuffer-default-prompt-format
(match-end 0))))
(regexp-quote minibuffer-default-prompt-format))
- "
: *\\)
")
+ "
\\):
")
1)
`(("\\( (default\\(?: is\\)? \\(.*\\))\\):? \\'"
1 ,(if minibuffer-eldef-shorten-default " [\\2]"))